﻿using Blm.RabbitMQ.Models;
using System;
using System.ComponentModel.DataAnnotations;
using VisionCloud.Domain.DtoModel.RabbitMq;

namespace VisionCloud.Domain.DtoModel.Ms
{
    [RabbitMQOption("blm.algorithm.measuring.ex", "blm.algorithm.measuring.rk", null, RabbitMQConnectPoolName.CloudServerHost, StorageWayEm.ReceiptOrStorage)]
    public class MeasuringAlgorithmDto
    {
        /// <summary>
        /// 任务Id
        /// </summary>
        [Required] public Guid TaskId { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        [Required] public Guid ProjectId { get; set; }

        /// <summary>
        /// 站点Id
        /// </summary>
        [Required] public int PointIndex { get; set; }

        /// <summary>
        /// 文件Id
        /// </summary>
        [Required] public Guid FileId { get; set; }

        /// <summary>
        /// 点云文件
        /// </summary>
        [Required] public string PcdFile { get; set; }
    }
}
